gtk4.git
4 years agoplacessidebar: Don't use G_TYPE_POINTER
Benjamin Otte [Sun, 29 Aug 2021 02:48:49 +0000 (04:48 +0200)]
placessidebar: Don't use G_TYPE_POINTER

We have a type for lists of GFiles. We invented it for DND.

Keep the annotation info, so bindings don't have to know this.

4 years agopathbar: Use correct GType in signal
Benjamin Otte [Sun, 29 Aug 2021 02:47:50 +0000 (04:47 +0200)]
pathbar: Use correct GType in signal

4 years agoMerge branch 'css-line-decoration' into 'master'
Matthias Clasen [Fri, 27 Aug 2021 01:37:57 +0000 (01:37 +0000)]
Merge branch 'css-line-decoration' into 'master'

textview: Apply line decoration from css

See merge request GNOME/gtk!3890

4 years agoClean up the code
Matthias Clasen [Fri, 27 Aug 2021 00:45:17 +0000 (20:45 -0400)]
Clean up the code

Avoid compiler warnings, and make the code
a bit more compact.

4 years agotextview: Apply font features from css
Matthias Clasen [Fri, 27 Aug 2021 00:21:23 +0000 (20:21 -0400)]
textview: Apply font features from css

We were forgetting to propagate these values from
CSS to the default attributes. Share the code for
getting these values out of a GtkCssStyle.

4 years agotextview: Apply text transform from css
Matthias Clasen [Thu, 26 Aug 2021 22:53:30 +0000 (18:53 -0400)]
textview: Apply text transform from css

We were forgetting to propagate these values from
CSS to the default attributes.

4 years agotextview: Apply line decoration from css
Matthias Clasen [Thu, 26 Aug 2021 22:45:38 +0000 (18:45 -0400)]
textview: Apply line decoration from css

We were forgetting to propagate these values from
CSS to the default attributes.

4 years agoMerge branch 'css-letter-spacing' into 'master'
Matthias Clasen [Thu, 26 Aug 2021 19:37:55 +0000 (19:37 +0000)]
Merge branch 'css-letter-spacing' into 'master'

textview: Don't forget to collect css letterspacing

Closes #4207

See merge request GNOME/gtk!3889

4 years agotextview: Don't forget to collect css letterspacing
Matthias Clasen [Thu, 26 Aug 2021 19:01:23 +0000 (15:01 -0400)]
textview: Don't forget to collect css letterspacing

There are more properties missing, this is just
the start.

Fixes: #4207
4 years agoUpdate Indonesian translation
Andika Triwidada [Thu, 26 Aug 2021 14:40:03 +0000 (14:40 +0000)]
Update Indonesian translation

(cherry picked from commit 85ad1db8efaabace38cb9b37bfac1d729925b8ec)

4 years agoUpdate Portuguese translation
Hugo Carvalho [Thu, 26 Aug 2021 14:29:50 +0000 (14:29 +0000)]
Update Portuguese translation

(cherry picked from commit 6e467de751d83f3212d4e758b3d52abd555d5477)

4 years agoUpdate Portuguese translation
Hugo Carvalho [Thu, 26 Aug 2021 14:12:47 +0000 (14:12 +0000)]
Update Portuguese translation

(cherry picked from commit ae5b6395ade25da06da25157ed39e399db3a4061)

4 years agoUpdate Indonesian translation
Andika Triwidada [Thu, 26 Aug 2021 13:38:46 +0000 (13:38 +0000)]
Update Indonesian translation

(cherry picked from commit dcc899b6212aceca7c5687c6cd4a24214e84d27e)

4 years agoUpdated Czech translation
Marek Černocký [Thu, 26 Aug 2021 13:07:54 +0000 (15:07 +0200)]
Updated Czech translation

4 years agoMerge branch 'clang-fallthrough' into 'master'
Timm Bäder [Thu, 26 Aug 2021 11:15:28 +0000 (11:15 +0000)]
Merge branch 'clang-fallthrough' into 'master'

build: fix implicit-fallthrough errors with clang

See merge request GNOME/gtk!3887

4 years agoUpdate Catalan translation
Jordi Mas [Thu, 26 Aug 2021 11:10:32 +0000 (13:10 +0200)]
Update Catalan translation

4 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Thu, 26 Aug 2021 06:15:06 +0000 (06:15 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

More markup demos

See merge request GNOME/gtk!3888

4 years agobuild: fix implicit-fallthrough errors with clang
Christoph Reiter [Thu, 26 Aug 2021 03:14:18 +0000 (05:14 +0200)]
build: fix implicit-fallthrough errors with clang

The clang build fails due to -Werror=implicit-fallthrough being
on by default and some fallthrough cases not being marked as such.

Use G_GNUC_FALLTHROUGH or duplicate the code in those cases.

4 years agoMore markup demos
Matthias Clasen [Wed, 25 Aug 2021 23:38:59 +0000 (19:38 -0400)]
More markup demos

Showing more of what Pango can do.

4 years agoMerge branch 'new-pango-attributes' into 'master'
Matthias Clasen [Wed, 25 Aug 2021 20:11:45 +0000 (20:11 +0000)]
Merge branch 'new-pango-attributes' into 'master'

Support new pango attributes

See merge request GNOME/gtk!3878

4 years agoMerge branch 'treeexpander-claim-gestures' into 'master'
Matthias Clasen [Wed, 25 Aug 2021 19:11:23 +0000 (19:11 +0000)]
Merge branch 'treeexpander-claim-gestures' into 'master'

GtkTreeExpander: claim expander-icon gestures

Closes #4199

See merge request GNOME/gtk!3886

4 years agotextview: Implement new pango attributes
Matthias Clasen [Tue, 24 Aug 2021 16:47:12 +0000 (12:47 -0400)]
textview: Implement new pango attributes

Implement the word and sentence attributes.

4 years agoSupport new pango attributes
Matthias Clasen [Tue, 24 Aug 2021 16:48:40 +0000 (12:48 -0400)]
Support new pango attributes

Support new Pango attributes for segmentation
in GtkBuilder.

4 years agoGtkTreeExpander: claim expander-icon gestures
Jan Lukas Gernert [Wed, 25 Aug 2021 15:50:12 +0000 (17:50 +0200)]
GtkTreeExpander: claim expander-icon gestures

Claim the pressed, released and canceled gestures
meant for the expander-icon of the TreeExpander.
This avoids selecting the row when expanding or collapsing it.

Closes #4199

4 years agoMerge branch 'sloped-caret' into 'master'
Matthias Clasen [Wed, 25 Aug 2021 13:43:24 +0000 (13:43 +0000)]
Merge branch 'sloped-caret' into 'master'

Implement sloped caret drawing

See merge request GNOME/gtk!3880

4 years agoUpdate Catalan translation
Jordi Mas [Wed, 25 Aug 2021 13:17:27 +0000 (15:17 +0200)]
Update Catalan translation

4 years agoMerge branch 'treeexpander-indent-property' into 'master'
Matthias Clasen [Wed, 25 Aug 2021 11:48:59 +0000 (11:48 +0000)]
Merge branch 'treeexpander-indent-property' into 'master'

GtkTreeExpander: indent-without-expander property

Closes #4175

See merge request GNOME/gtk!3858

4 years agoMerge branch '4195-include-gdkprivate-h' into 'master'
Matthias Clasen [Wed, 25 Aug 2021 11:48:11 +0000 (11:48 +0000)]
Merge branch '4195-include-gdkprivate-h' into 'master'

gdkmacoseventsource: Include "gdk-private.h"

Closes #4195

See merge request GNOME/gtk!3882

4 years agoUse pango_layout_get_caret_pos
Matthias Clasen [Tue, 24 Aug 2021 20:49:30 +0000 (16:49 -0400)]
Use pango_layout_get_caret_pos

This new api returns rectangles for sloped carets,
in contrast to pango_layout_get_cursor_pos, which
always returns a rectangle with a width of zero.

4 years agoImplement sloped caret drawing
Matthias Clasen [Mon, 23 Aug 2021 21:39:04 +0000 (17:39 -0400)]
Implement sloped caret drawing

Prepare for Pango to return slope information for carets.

While we are at it, improve the shape of our carets a bit.

4 years agoMerge branch 'fix-gettext' into 'master'
Matthias Clasen [Wed, 25 Aug 2021 10:51:57 +0000 (10:51 +0000)]
Merge branch 'fix-gettext' into 'master'

Fix wrong gettext ITS target

See merge request GNOME/gtk!3881

4 years agoFix wrong gettext ITS target
Rafał Dzięgiel [Wed, 25 Aug 2021 08:08:44 +0000 (10:08 +0200)]
Fix wrong gettext ITS target

The installed ITS rule filename is "gtk4builder.its". The .loc file
is wrongly pointing to old "gtkbuilder.its" which makes gettext fail
on systems without GTK3 installed.

4 years agoUpdate Galician translation
Fran Dieguez [Wed, 25 Aug 2021 07:26:42 +0000 (07:26 +0000)]
Update Galician translation

(cherry picked from commit 410ea1049becedd78d6b267aee3a5bac1a0810c2)

4 years agoUpdate Galician translation
Fran Dieguez [Wed, 25 Aug 2021 06:12:31 +0000 (06:12 +0000)]
Update Galician translation

(cherry picked from commit 09a5828ccf90e460cc8b84560ca235cc7d22bbeb)

4 years agoMerge branch 'wip/otte/for-master' into 'master'
Matthias Clasen [Wed, 25 Aug 2021 04:24:55 +0000 (04:24 +0000)]
Merge branch 'wip/otte/for-master' into 'master'

wayland: Better error on eglGetDisplay() failure

See merge request GNOME/gtk!3879

4 years agogdkmacoseventsource: Include "gdk-private.h"
Peter Bloomfield [Tue, 24 Aug 2021 20:55:52 +0000 (16:55 -0400)]
gdkmacoseventsource: Include "gdk-private.h"

_gdk_macos_event_source_new() calls g_source_set_static_name(), which
for GLib versions before 2.69.1 is a macro defined in gdk-private.h.

Fixes #4195

modified:   gdk/macos/gdkmacoseventsource.c

4 years agowayland: Better error on eglGetDisplay() failure
Benjamin Otte [Tue, 24 Aug 2021 19:27:49 +0000 (21:27 +0200)]
wayland: Better error on eglGetDisplay() failure

Goals:

1. Provide as much information as possible in the error message, so
   users can try to fix their system themselves.
2. Try to formulate the error message in a way that explains that this
   is not something GTK can fix, but a lower layer problem.

Related: #4193

4 years agoUpdate Ukrainian translation
Yuri Chornoivan [Tue, 24 Aug 2021 17:28:48 +0000 (17:28 +0000)]
Update Ukrainian translation

(cherry picked from commit 6377b23bd6dafc736f849921ed0db6a0b8a9aadc)

4 years agoMerge branch 'wip/carlosg/gesture-state-in-entries' into 'master'
Matthias Clasen [Tue, 24 Aug 2021 17:20:20 +0000 (17:20 +0000)]
Merge branch 'wip/carlosg/gesture-state-in-entries' into 'master'

Claim clicks further at GtkEntry/GtkSearchEntry

See merge request GNOME/gtk!3873

4 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Tue, 24 Aug 2021 17:19:42 +0000 (17:19 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Revert "imwayland: Tweak preedit text"

Closes #4123

See merge request GNOME/gtk!3877

4 years agotests: Rewrite PangoAttribute introspection
Matthias Clasen [Tue, 24 Aug 2021 16:47:41 +0000 (12:47 -0400)]
tests: Rewrite PangoAttribute introspection

We can use the new binding helpers to make this
a little less bothersome. That way, it will need
tweaks less often (only when new fundamental types
are introduced).

4 years agoRevert "imwayland: Tweak preedit text"
Matthias Clasen [Tue, 24 Aug 2021 16:02:31 +0000 (12:02 -0400)]
Revert "imwayland: Tweak preedit text"

This reverts commit d84a028455cadbf146e4cd234f57dc1df2e69cd6.

IBus uses the same character now.

Fixes: #4123
4 years agoMerge branch 'expander-ref-leak' into 'master'
Emmanuele Bassi [Tue, 24 Aug 2021 13:20:48 +0000 (13:20 +0000)]
Merge branch 'expander-ref-leak' into 'master'

Release an extra reference on GtkExpander:child

See merge request GNOME/gtk!3876

4 years agoRelease an extra reference on GtkExpander:child
Emmanuele Bassi [Tue, 24 Aug 2021 00:11:15 +0000 (01:11 +0100)]
Release an extra reference on GtkExpander:child

The child of a GtkExpander is owned directly by the expander whenever
the "expanded" flag is unset.

We are adding an additional reference to the child of an expander when
expander is not expanded.

Additionally, if a GtkExpander is disposed while not expanded, we need
to explicitly release the reference on the child widget that we own.

This reference leak was masked in GTK3 by GtkContainer removing each
child from the parent container by recursively calling
gtk_widget_destroy().

4 years agogtkpasswordentry: Add a "catchall" click gesture handler
Carlos Garnacho [Mon, 23 Aug 2021 23:13:29 +0000 (01:13 +0200)]
gtkpasswordentry: Add a "catchall" click gesture handler

This gesture is set on the whole widget surface, since there's
multiple input targets inside an entry (icons, the GtkText itself)
it makes sense to consider the full entry an area handling clicks.
Ensure these events don't propagate further up, and result in other
actions.

4 years agogtkpasswordentry: Consume click events after pressing on icon
Carlos Garnacho [Mon, 23 Aug 2021 23:12:31 +0000 (01:12 +0200)]
gtkpasswordentry: Consume click events after pressing on icon

This may result in user actions, so the gesture should consume the
events.

4 years agoMerge branch 'fix-docs' into 'master'
Matthias Clasen [Mon, 23 Aug 2021 20:40:17 +0000 (20:40 +0000)]
Merge branch 'fix-docs' into 'master'

Fix documentation for gtk_icon_view_create_drag_icon

Closes #4190

See merge request GNOME/gtk!3875

4 years agodocs: Fix documentation for gtk_icon_view_create_drag_icon
Qiu Wenbo [Mon, 23 Aug 2021 16:24:08 +0000 (00:24 +0800)]
docs: Fix documentation for gtk_icon_view_create_drag_icon

Fixes: #4190
4 years agoMerge branch 'wip/kalev/pre-compiled-css-detection' into 'master'
Matthias Clasen [Mon, 23 Aug 2021 14:57:19 +0000 (14:57 +0000)]
Merge branch 'wip/kalev/pre-compiled-css-detection' into 'master'

build: Fix detection for pre-compiled css files

See merge request GNOME/gtk!3874

4 years agobuild: Fix detection for pre-compiled css files
Kalev Lember [Mon, 23 Aug 2021 13:38:46 +0000 (15:38 +0200)]
build: Fix detection for pre-compiled css files

The default theme changed from Adwaita to Default and this tripped up
the logic to detect if the tarball builds contain pre-built css files or
not. Fix this by looking at pre-compiled css files in themes/Default/
instead of themes/Adwaita/.

4 years agogtksearchentry: Add a "catchall" click gesture handler
Carlos Garnacho [Mon, 23 Aug 2021 13:33:32 +0000 (15:33 +0200)]
gtksearchentry: Add a "catchall" click gesture handler

This gesture is set on the whole widget surface, since there's
multiple input targets inside an entry (icons, the GtkText itself)
it makes sense to consider the full entry an area handling clicks.
Ensure these events don't propagate further up, and result in other
actions.

4 years agogtkentry: Add a "catchall" click gesture handler
Carlos Garnacho [Mon, 23 Aug 2021 13:31:37 +0000 (15:31 +0200)]
gtkentry: Add a "catchall" click gesture handler

This gesture is set on the whole widget surface, since there's
multiple input targets inside an entry (icons, the GtkText itself)
it makes sense to consider the full entry an area handling clicks.
Ensure these events don't propagate further up, and result in other
actions.

4 years agogtksearchentry: Consume click events after pressing on icon
Carlos Garnacho [Mon, 23 Aug 2021 13:30:21 +0000 (15:30 +0200)]
gtksearchentry: Consume click events after pressing on icon

This results in user actions, so the gesture should consume the
events.

4 years agogtktext: Set claimed state on button1 click gesture
Carlos Garnacho [Mon, 23 Aug 2021 13:28:27 +0000 (15:28 +0200)]
gtktext: Set claimed state on button1 click gesture

All possible ramifications after button1 press (move cursor,
begin drag, begin dnd, select word/line, ...) result in user
actions. The right thing after that is consuming the events,
set the gesture state for that.

4 years agoGtkTreeExpander: indent-for-icon property
Jan Lukas Gernert [Fri, 20 Aug 2021 07:08:22 +0000 (09:08 +0200)]
GtkTreeExpander: indent-for-icon property

A property to determine if the TreeExpander should indent the child
by the width of an expander-icon when it is not expandable.

Closes #4175

4 years agoAdd 4.6 version macros
Jan Lukas Gernert [Mon, 23 Aug 2021 05:54:27 +0000 (07:54 +0200)]
Add 4.6 version macros

4 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Sun, 22 Aug 2021 21:16:02 +0000 (21:16 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

NEWS: Updates

See merge request GNOME/gtk!3872

4 years agoNEWS: Updates
Matthias Clasen [Sun, 22 Aug 2021 20:25:18 +0000 (16:25 -0400)]
NEWS: Updates

4 years agoMerge branch 'css-text-transform' into 'master'
Matthias Clasen [Sun, 22 Aug 2021 20:40:50 +0000 (20:40 +0000)]
Merge branch 'css-text-transform' into 'master'

css: Implement text-transform

See merge request GNOME/gtk!3862

4 years agoAdd an example for text transforms
Matthias Clasen [Sun, 22 Aug 2021 16:17:32 +0000 (12:17 -0400)]
Add an example for text transforms

Show some transformed text in the markup demo.

4 years agoImplement text transforms for GtkTextView
Matthias Clasen [Sat, 21 Aug 2021 00:06:38 +0000 (20:06 -0400)]
Implement text transforms for GtkTextView

Add a property to GtkTextTag and do all the
legwork to translate it to the Pango attribute.

4 years agocss: Implement text-transform
Matthias Clasen [Fri, 20 Aug 2021 23:01:01 +0000 (19:01 -0400)]
css: Implement text-transform

Implement the text-transform property from
https://www.w3.org/TR/css-text-3/#text-transform-property
using a new Pango attribute.

4 years agoMerge branch 'bump-pango' into 'master'
Matthias Clasen [Sun, 22 Aug 2021 19:57:21 +0000 (19:57 +0000)]
Merge branch 'bump-pango' into 'master'

Bump the pango dependency

See merge request GNOME/gtk!3871

4 years agoMerge branch 'css-line-height2' into 'master'
Matthias Clasen [Sun, 22 Aug 2021 19:47:10 +0000 (19:47 +0000)]
Merge branch 'css-line-height2' into 'master'

Implement CSS line-height

See merge request GNOME/gtk!3833

4 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Sun, 22 Aug 2021 19:28:01 +0000 (19:28 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

windowhandle: Quiet a compiler warning

See merge request GNOME/gtk!3868

4 years agoDrop PANGO_VERSION_CHECK checks
Matthias Clasen [Sun, 22 Aug 2021 19:26:23 +0000 (15:26 -0400)]
Drop PANGO_VERSION_CHECK checks

We require Pango 1.49 now.

4 years agoBump Pango dep
Matthias Clasen [Sun, 22 Aug 2021 19:19:18 +0000 (15:19 -0400)]
Bump Pango dep

Require Pango 1.49, so we can support new attributes
without too much ifdeffery.

4 years agogtk-demo: Add a line height demo
Matthias Clasen [Sun, 22 Aug 2021 17:31:16 +0000 (13:31 -0400)]
gtk-demo: Add a line height demo

Add an example for widely spaced text to the markup demo.

4 years agogtk-demo: Improve markup demo
Matthias Clasen [Mon, 9 Aug 2021 15:17:48 +0000 (11:17 -0400)]
gtk-demo: Improve markup demo

The font sizes demo had the space between the font-size spans,
causing us to have a run with just a default sized space between
the words, which in turn leads to wobbly cursor sizes. Avoid that
by including the space in the preceding span.

Also, make it bigger.

4 years agogtk-demo: Set line height from markup
Matthias Clasen [Sun, 22 Aug 2021 17:48:26 +0000 (13:48 -0400)]
gtk-demo: Set line height from markup

Keep the import-markup code in sync with GtkTextBuffer.

4 years agotextview: Set line height from markup
Matthias Clasen [Sun, 22 Aug 2021 17:39:34 +0000 (13:39 -0400)]
textview: Set line height from markup

Note that we ignore the absolute-line-height
attribute for now.

4 years agotextview: Set line height from css
Matthias Clasen [Sat, 7 Aug 2021 16:30:11 +0000 (12:30 -0400)]
textview: Set line height from css

Set the line height in the default attributes from
the CSS style. This makes line height work in
GtkTextView.

4 years agotextview: Add line height plumbing
Matthias Clasen [Fri, 6 Aug 2021 02:22:50 +0000 (22:22 -0400)]
textview: Add line height plumbing

This adds a line-height property to GtkTexttag and a
line_height field to GtkTextAttributes, and translates
it to a pango attribute.

4 years agocss: Document line-height as supported
Matthias Clasen [Sat, 7 Aug 2021 23:37:35 +0000 (19:37 -0400)]
css: Document line-height as supported

4 years agocss: Add parser tests for line-height
Matthias Clasen [Sat, 7 Aug 2021 22:04:16 +0000 (18:04 -0400)]
css: Add parser tests for line-height

4 years agocss: Translate line-height to a Pango
Matthias Clasen [Sat, 7 Aug 2021 15:17:54 +0000 (11:17 -0400)]
css: Translate line-height to a Pango

Pango 1.50 introduces a line-height attribute. Use it.
This is enough to make line-height work for labels
and entries.

4 years agocss: Add line-height property
Matthias Clasen [Fri, 6 Aug 2021 18:19:34 +0000 (14:19 -0400)]
css: Add line-height property

This adds the plumbing to parse the line-height
property from CSS. Widgets are not picking it
up yet.

4 years agoMerge branch 'clipboard-set-docs' into 'master'
Benjamin Otte [Sun, 22 Aug 2021 18:49:13 +0000 (18:49 +0000)]
Merge branch 'clipboard-set-docs' into 'master'

docs: Expand gdk_clipboard_set() docs

See merge request GNOME/gtk!3865

4 years agodocs: Expand gdk_clipboard_set() docs
Benjamin Otte [Sun, 22 Aug 2021 18:49:12 +0000 (18:49 +0000)]
docs: Expand gdk_clipboard_set() docs

4 years agoFix up test output for new version
Matthias Clasen [Sun, 22 Aug 2021 18:48:12 +0000 (14:48 -0400)]
Fix up test output for new version

Annoying that this test has to be touched every time
we bump the version.

4 years agowindowhandle: Quiet a compiler warning
Matthias Clasen [Sun, 22 Aug 2021 18:17:36 +0000 (14:17 -0400)]
windowhandle: Quiet a compiler warning

gesture was left uninitialized in the default case.

4 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Sun, 22 Aug 2021 17:53:34 +0000 (17:53 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Bump version to 4.5

See merge request GNOME/gtk!3867

4 years agoBump version to 4.5
Matthias Clasen [Sun, 22 Aug 2021 17:06:29 +0000 (13:06 -0400)]
Bump version to 4.5

4.4 has been branched off.

4 years agoNEWS: Updates
Matthias Clasen [Sun, 22 Aug 2021 17:06:15 +0000 (13:06 -0400)]
NEWS: Updates

4 years agoMerge branch 'drop-gl' into 'master'
Matthias Clasen [Sun, 22 Aug 2021 17:04:25 +0000 (17:04 +0000)]
Merge branch 'drop-gl' into 'master'

gsk: Drop the gl renderer

See merge request GNOME/gtk!3863

4 years agotests: Remove an outdated comment
Matthias Clasen [Sun, 22 Aug 2021 16:29:59 +0000 (12:29 -0400)]
tests: Remove an outdated comment

It refers to a file that no longer exists.

4 years agomedia: Don't include gsk/gl/gskglrenderer.h
Matthias Clasen [Sun, 22 Aug 2021 16:29:40 +0000 (12:29 -0400)]
media: Don't include gsk/gl/gskglrenderer.h

4 years agotestutils: Don't include gsk/gl/gskglrenderer.h
Matthias Clasen [Sun, 22 Aug 2021 16:29:13 +0000 (12:29 -0400)]
testutils: Don't include gsk/gl/gskglrenderer.h

4 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Sun, 22 Aug 2021 15:22:14 +0000 (15:22 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

Handle new pango attribute type

See merge request GNOME/gtk!3866

4 years agoHandle new pango attribute type
Matthias Clasen [Sat, 21 Aug 2021 00:12:04 +0000 (20:12 -0400)]
Handle new pango attribute type

Update all the places where we switch over
PangoAttrType to handle PANGO_ATTR_TEXT_TRANSFORM,
and do nothing for now - text-transform support
will land in 4.6.

4 years agogsk: Drop the gl renderer
Matthias Clasen [Sat, 21 Aug 2021 02:50:41 +0000 (22:50 -0400)]
gsk: Drop the gl renderer

ngl supports all the same platforms as gl
now, and has seen more improvements in the
last cycle.

4 years ago4.4.0
Matthias Clasen [Fri, 20 Aug 2021 17:38:10 +0000 (13:38 -0400)]
4.4.0

4 years agoFix imcontext tests
Matthias Clasen [Fri, 20 Aug 2021 18:41:05 +0000 (14:41 -0400)]
Fix imcontext tests

We should force our internal im context for these
tests, so we don't depend on the environment.

4 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Fri, 20 Aug 2021 14:21:39 +0000 (14:21 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

NEWS: Updates

See merge request GNOME/gtk!3861

4 years agoNEWS: Updates
Matthias Clasen [Fri, 20 Aug 2021 13:24:04 +0000 (09:24 -0400)]
NEWS: Updates

4 years agoMerge branch 'cut-shortcut-activation-short' into 'master'
Matthias Clasen [Fri, 20 Aug 2021 13:50:51 +0000 (13:50 +0000)]
Merge branch 'cut-shortcut-activation-short' into 'master'

shortcutcontroller: Only do round-robin for mnemonics

Closes #4130

See merge request GNOME/gtk!3824

4 years agoshortcutcontroller: Only do round-robin for mnemonics
Matthias Clasen [Tue, 3 Aug 2021 20:23:16 +0000 (16:23 -0400)]
shortcutcontroller: Only do round-robin for mnemonics

Don't do round-robin activation unless we are looking
for mnemonics, where this is an expected feature.

Fixes: #4130
4 years agoMerge branch 'matthiasc/for-master' into 'master'
Matthias Clasen [Fri, 20 Aug 2021 13:22:01 +0000 (13:22 +0000)]
Merge branch 'matthiasc/for-master' into 'master'

gdk: Add a missing annotation

Closes #4097

See merge request GNOME/gtk!3860

4 years agoMerge branch 'master' into 'master'
Emmanuele Bassi [Fri, 20 Aug 2021 13:18:37 +0000 (13:18 +0000)]
Merge branch 'master' into 'master'

a11y: Send correct object reference for the root accessible

See merge request GNOME/gtk!3800

4 years agogdk: Add a missing annotation
Matthias Clasen [Fri, 20 Aug 2021 12:57:27 +0000 (08:57 -0400)]
gdk: Add a missing annotation

Mark an array as zero-terminated.

Fixes: #4097